function SquareNode({value,index,handleClick}){
    return (
        <div className="square"  onClick={()=>handleClick(index)}>{value}</div>
    )
}

export default SquareNode